<?php

require_once('_ini.php');
ReqLib('/lib/private/User.php');

if(User::GetUserIdByUserName($_POST['UserName']) > 0)
{
	//user name is not availble
	echo "no";
}
else
{
	//user name is available
	echo "yes";
}

/*if($_POST['Password'] == $_POST['ReTypePassword'])
{
	echo "yes";
}

else
{
	echo "no";
}*/

?>